package com.tz.dao;

import com.tz.entity.Category;

import java.util.List;

/**
 * Created by Administrator on 2016/8/4.
 */
public interface CategoryDao {

    //查找通过id查找所有category
    List<Category> findCategoryByCategoryId(long parentId);

    //通过id查找category
    Category findCategoryById(long categoryId);
}
